//
//  QYGGameRecordModel.h
//  wawaji_ios
//
//  Created by 云+物娱 on 2017/12/12.
//  Copyright © 2017年 yiguo qi. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface User : NSObject

@property (nonatomic, assign) NSInteger user_id;
@property (nonatomic, strong) NSString *nickname;
@property (nonatomic, strong) NSString *gender;
@property (nonatomic, strong) NSString *avatar;
@property (nonatomic, assign) NSInteger coin;
@property (nonatomic, assign) NSInteger unionid;
@property (nonatomic, strong) NSString *created_at;
@property (nonatomic, strong) NSString *updated_at;


@end



@interface QYGGameRecordModel : NSObject

/** 游戏记录id  */
@property (nonatomic, assign) NSInteger game_id;
@property (nonatomic, assign) NSInteger user_id;
/** 游戏机id  */
@property (nonatomic, assign) NSInteger machine_id;
/** 操作记录id  */
@property (nonatomic, assign) NSInteger log_id;
/**耗费的游戏币个数  */
@property (nonatomic, assign) NSInteger coin;
/** 操作结果  */
@property (nonatomic, assign) NSInteger operate_result;
/** 商品id */
@property (nonatomic, assign) NSInteger ware_id;
/** 商品名称  */
@property (nonatomic, strong) NSString *ware_name;
/** 商品图片  */
@property (nonatomic, strong) NSString *ware_image;
/** 订单id  */
@property (nonatomic, assign) NSInteger order_id;
/** 1.待领取 2.已领取 0为没有*/
@property (nonatomic, assign) NSInteger ware_status;
/**  */
@property (nonatomic, strong) NSString *created_at;
/**  */
@property (nonatomic, strong) NSString *updated_at;
/**  */
@property (nonatomic, strong) User *user;
@end
